function numTime=changeTimeToNum(timeTem1)
     timeTem1(find(strncmp(timeTem1,'2014-11-18',10)==1))=1; 
    timeTem1(find(strncmp(timeTem1,'2014-11-19',10)==1))=2; 
     timeTem1(find(strncmp(timeTem1,'2014-11-20',10)==1))=3; 
     timeTem1(find(strncmp(timeTem1,'2014-11-21',10)==1))=4; 
     timeTem1(find(strncmp(timeTem1,'2014-11-22',10)==1))=5; 
     timeTem1(find(strncmp(timeTem1,'2014-11-23',10)==1))=6; 
     timeTem1(find(strncmp(timeTem1,'2014-11-24',10)==1))=7; 
     timeTem1(find(strncmp(timeTem1,'2014-11-25',10)==1))=8; 
     timeTem1(find(strncmp(timeTem1,'2014-11-26',10)==1))=9; 
     timeTem1(find(strncmp(timeTem1,'2014-11-27',10)==1))=10; 
    timeTem1(find(strncmp(timeTem1,'2014-11-28',10)==1))=11; 
     timeTem1(find(strncmp(timeTem1,'2014-11-29',10)==1))=12; 
     timeTem1(find(strncmp(timeTem1,'2014-11-30',10)==1))=13; 
     timeTem1(find(strncmp(timeTem1,'2014-12-1',10)==1))=14; 
    timeTem1(find(strncmp(timeTem1,'2014-12-2',10)==1))=15; 
     timeTem1(find(strncmp(timeTem1,'2014-12-3',10)==1))=16; 
     timeTem1(find(strncmp(timeTem1,'2014-12-4',10)==1))=17; 
     timeTem1(find(strncmp(timeTem1,'2014-12-5',10)==1))=18; 
    timeTem1(find(strncmp(timeTem1,'2014-12-6',10)==1))=19; 
     timeTem1(find(strncmp(timeTem1,'2014-12-7',10)==1))=20; 
    timeTem1(find(strncmp(timeTem1,'2014-12-8',10)==1))=21; 
     timeTem1(find(strncmp(timeTem1,'2014-12-9',10)==1))=22; 
    timeTem1(find(strncmp(timeTem1,'2014-12-10',10)==1))=23; 
     timeTem1(find(strncmp(timeTem1,'2014-12-11',10)==1))=24; 
     timeTem1(find(strncmp(timeTem1,'2014-12-12',10)==1))=25
     timeTem1(find(strncmp(timeTem1,'2014-12-13',10)==1))=26; 
     timeTem1(find(strncmp(timeTem1,'2014-12-14',10)==1))=27; 
     timeTem1(find(strncmp(timeTem1,'2014-12-15',10)==1))=28; 
     timeTem1(find(strncmp(timeTem1,'2014-12-16',10)==1))=29; 
     timeTem1(find(strncmp(timeTem1,'2014-12-17',10)==1))=30; 
     timeTem1(find(strncmp(timeTem1,'2014-12-18',10)==1))=31; 
     numTime=timeTem1;
end